package common.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import common.mapper.CommonSysUserRoleMapper;
import common.model.po.SysUserRole;
import common.service.CommonSysUserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 服务实现类
 *
 * @author 米泽鹏
 * @since 2022-03-22
 */
@Service
public class CommonSysUserRoleServiceImpl extends ServiceImpl<CommonSysUserRoleMapper, SysUserRole> implements CommonSysUserRoleService {

	@Resource
	private CommonSysUserRoleMapper mapper;

	@Override
	public List<SysUserRole> getAllSysUserRole() {
		return mapper.getAllSysUserRole();
	}

}
